package com.sdk4.jinritemai.model.request;

import com.sdk4.jinritemai.DoudianRequest;
import com.sdk4.jinritemai.model.response.DoudianAfterSaleBuyerReturnResponse;
import lombok.Data;

@Data
public class DoudianAfterSaleBuyerReturnRequest implements DoudianRequest<DoudianAfterSaleBuyerReturnResponse> {
    /**
     * type=2時需要传入原因
     */
    private String comment;
    /**
     * 子订单号
     */
    private String orderId;
    /**
     * 是否使用模板发短信
     * 1是
     * 0否
     */
    private Integer smsId;
    /**
     * 1同意
     * 2拒绝
     */
    private Integer type;
    /**
     * 地址ID
     */
    private Long addressId;
    /**
     * 收货人
     */
    private String receiverName;
    /**
     * 收货人手机
     */
    private String receiverTel;
    /**
     * 收货人地址
     */
    private String receiverAddress;
    private String receiverProvince;
    private String receiverCity;
    private String receiverDistrict;

    @Override
    public String getMethod() {
        return "afterSale.buyerReturn";
    }

    @Override
    public Class<DoudianAfterSaleBuyerReturnResponse> getResponseClass() {
        return DoudianAfterSaleBuyerReturnResponse.class;
    }


}
